const inStorage = [
  {
    name: "inStorage",
    path: "/inStorage",
    hidden: false,
    redirect: "noRedirect",
    component: "Layout",
    alwaysShow: true,
    permissions: "storage",
    meta: {
      title: "入库管理",
      noCache: false,
      link: null,
    },
    children: [
      {
        name: "b2bInStorageIndex",
        path: "b2bInStorageIndex",
        hidden: false,
        component: "inStorage/b2bInStorage/b2bInStorageIndex",
        permissions: "storage:receipt:list",
        meta: {
          title: "入库单列表",
          noCache: false,
          link: null,
        },
      },
      {
        name: "onlineReceiveGoodsIndex",
        path: "onlineReceiveGoodsIndex",
        hidden: false,
        component: "inStorage/onlineReceiveGoods/onlineReceiveGoodsIndex",
        permissions: "storage:erp:list",
        meta: {
          title: "线上收货",
          noCache: false,
          link: null,
        },
      },
      {
        name: "offlineReceiveGoodsIndex",
        path: "offlineReceiveGoodsIndex",
        hidden: false,
        component: "inStorage/offlineReceiveGoods/offlineReceiveGoodsIndex",
        permissions: "storage:b2b:list",
        meta: {
          title: "线下收货",
          noCache: false,
          link: null,
        },
      },
      {
        name: "receivingRecords",
        path: "receivingRecords",
        hidden: false,
        component: "inStorage/receivingRecords/recordIndex",
        permissions: "storage:history:list",
        meta: {
          title: "收货记录",
          noCache: false,
          link: null,
        },
      },
      // {
      //     "name": "listingTasks",
      //     "path": "listingTasks",
      //     "hidden": false,
      //     "component": "inStorage/listingTasks/index",
      //     "meta": {
      //         "title": "上架入库",
      //         "noCache": false,
      //         "link": null
      //     }
      // },
      {
        name: "putawayListIndex",
        path: "putawayListIndex",
        hidden: false,
        component: "inStorage/putawayList/putawayListIndex",
        permissions: "storage:putaway:list",
        meta: {
          title: "上架列表",
          noCache: false,
          link: null,
        },
      },
      {
        name: "onlineReturnIndex",
        path: "onlineReturnIndex",
        hidden: false,
        component: "inStorage/onlineReturn/onlineReturnIndex",
        permissions: "storage:erpreturndetail:list",
        meta: {
          title: "线上退货明细",
          noCache: false,
          link: null,
        },
      },
      {
        name: "onlineInStorageIndex",
        path: "onlineInStorageIndex",
        hidden: false,
        component: "inStorage/onlineInStorage/onlineInStorageIndex",
        permissions: "storage:erpdetail:list",
        meta: {
          title: "线上入库明细",
          noCache: false,
          link: null,
        },
      },
      {
        name: "offlineInStorageIndex",
        path: "offlineInStorageIndex",
        hidden: false,
        component: "inStorage/offlineInStorage/offlineInStorageIndex",
        permissions: "storage:b2bdetail:list",
        meta: {
          title: "线下入库明细",
          noCache: false,
          link: null,
        },
      },
    ],
  },
];
export default inStorage;
